﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EBookStore.Orders
{
    public class OrderStatusEventArgs:EventArgs
    {

        private eOrderStatus _status;
        private Order _order;
        private string _message;

        /// <summary>
        /// 
        /// </summary>
        public eOrderStatus Status
        {
            get { return _status; }            
        }


        /// <summary>
        /// 
        /// </summary>
        public string Message
        {
            get { return _message; }
        }

        /// <summary>
        /// 
        /// </summary>
        public Order Order
        {
            get { return _order; }
        }

        


        /// <summary>
        /// 
        /// </summary>
        /// <param name="order"></param>
        /// <param name="Message"></param>
        public OrderStatusEventArgs(eOrderStatus status, Order order, string Message)
            : base()
        {
            _status = status;
            _order = order;
            _message = Message;
        }

        
    }
}
